<div class="div-top">
    <span style="font-size: 20px;float:left;">{{menu_name}}</span>
    <div style="float:right;">
        <button ng-repeat="btn in buttonList" ng-click="operate(btn.event)" class="btn btn-{{btn.style}}">
        	<i class="iconfont {{btn.img}}"></i>&nbsp;{{btn.name}}
        </button>
    </div>
</div>
<form class="div-find form-inline">
	<div class="form-group">
	    <div class="drop-down form-control">
	        <div class="drop-down-box">
	            <span id="spanSubject">--学段学科--</span> <i class="iconfont icon-xiajiantou"></i>
	            <div class="tip-pop" id="subject">
	                <div ng-repeat="stage in stageList" class="tab-navs">
	                    <li class="tab-nav tab-title stage_{{stage.id}}">{{stage.name}}</li>
	                    <li class="tab-nav">|</li>
	                    <li  class="tab-nav subject_{{subject.id}}" ng-repeat="subject in subjectList" ng-if="stage.id == subject.fk_stage">
	                        <a href="" ng-click="subjectTabSelected(subject);">{{subject.name}}</a>
	                    </li>
	                </div>
	            </div>
	        </div>
	    </div>
    </div>
    <div class="form-group">
        <select class="form-control" ng-options="version.id as version.name for version in versionList" ng-model="form.fk_version" ng-change="select()">
            <option value="">--教材--</option>
        </select>
    </div>
    <div class="form-group">
        <select class="form-control" ng-options="grade.id as grade.name for grade in gradeList" ng-model="form.fk_grade" ng-change="select()">
            <option value="">--年级--</option>
        </select>
    </div>
    <button type="button" class="btn btn-primary" ng-click="select()"><i class="iconfont icon-search"></i> 查询</button>
</form>
<div class="div-table">
	<table class="table table-hover table-bordered">
    	<thead>
            <tr>
                <th style="width: 20px;">
                    <div class="check-box">
                        <input type="checkbox" id="allCheck" />
                        <label for="allCheck" ng-click="checkAll()"></label>
                    </div>
                </th>
                <th>年级</th>
                <th>教材</th>
                <th>课本</th>
            </tr>
     	</thead>
        <tbody ng-switch on="page.current_num">
            <tr ng-switch-when="0">
                <td colspan="100">
                    <div class="NoSelectHistory">查询无记录</div>
                </td>
            </tr>
            <tr ng-repeat="data in dataList">
                <td>
                    <div class="check-box">
                        <input type="checkbox" id="{{data.id}}" name="dataPk" value="{{data.id}}" />
                        <label for="{{data.id}}"></label>
                    </div>
                </td>
                <td>{{data.grade_name}}</td>
                <td>{{data.version_name}}</td>
                <td>{{data.name}}</td>
            </tr>
        </tbody>
	</table>
</div>
<div ng-include="'plugin/frame/3.0.1/html/page.html'" class="div-page"></div>